Skip to content

Commit

Permalink
Fixed complaint from this particular version of CMake.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Aug 25, 2019
1 parent e967655 commit 0faae44
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions CMakeLists.txt
Expand Up @@ -14,15 +14,15 @@ add_library(altrace_record SHARED
altrace_common.c
)
target_link_libraries(altrace_record dl)
install(TARGETS altrace_record)
install(TARGETS altrace_record LIBRARY DESTINATION lib)

add_executable(altrace_cli
altrace_cli.c
altrace_playback.c
altrace_common.c
)
target_link_libraries(altrace_cli dl)
install(TARGETS altrace_cli)
install(TARGETS altrace_cli RUNTIME DESTINATION bin)

option(ALTRACE_WX "Build wxWidgets-based GUI" TRUE)
if(ALTRACE_WX)
Expand All @@ -42,7 +42,7 @@ if(ALTRACE_WX)
)
include(${wxWidgets_USE_FILE})
target_link_libraries(altrace_wx "dl;${wxWidgets_LIBRARIES}")
install(TARGETS altrace_wx)
install(TARGETS altrace_wx RUNTIME DESTINATION bin)
else()
MESSAGE(STATUS "wxWidgets not found. GUI support is disabled.")
endif()
Expand Down

0 comments on commit 0faae44

Please sign in to comment.