Skip to content

Commit

Permalink
Build main.cc with the same flags as other rr sources.
Browse files Browse the repository at this point in the history
  • Loading branch information
bernhardu authored and rocallahan committed Apr 7, 2023
1 parent e32502d commit 002528b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -552,6 +552,7 @@ set(RR_SOURCES
src/kernel_metadata.cc
src/log.cc
src/LsCommand.cc
src/main.cc
src/MagicSaveDataMonitor.cc
src/MmappedFileMonitor.cc
src/MonitoredSharedMemory.cc
Expand Down Expand Up @@ -633,7 +634,7 @@ else()
set(CMAKE_INSTALL_INCLUDEDIR "include")
endif()

add_executable(rr ${RR_SOURCES} src/main.cc)
add_executable(rr ${RR_SOURCES})
set_target_properties(rr PROPERTIES ENABLE_EXPORTS true)
post_build_executable(rr)
set(RR_BIN rr)
Expand Down

0 comments on commit 002528b

Please sign in to comment.