Skip to content

Commit 002528b

Browse files
bernhardurocallahan
authored andcommitted
Build main.cc with the same flags as other rr sources.
1 parent e32502d commit 002528b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -552,6 +552,7 @@ set(RR_SOURCES
552552
src/kernel_metadata.cc
553553
src/log.cc
554554
src/LsCommand.cc
555+
src/main.cc
555556
src/MagicSaveDataMonitor.cc
556557
src/MmappedFileMonitor.cc
557558
src/MonitoredSharedMemory.cc
@@ -633,7 +634,7 @@ else()
633634
set(CMAKE_INSTALL_INCLUDEDIR "include")
634635
endif()
635636

636-
add_executable(rr ${RR_SOURCES} src/main.cc)
637+
add_executable(rr ${RR_SOURCES})
637638
set_target_properties(rr PROPERTIES ENABLE_EXPORTS true)
638639
post_build_executable(rr)
639640
set(RR_BIN rr)

0 commit comments

Comments
 (0)