Skip to content

Commit

Permalink
Fix test cmake target; Keyword test is not allowed for new cmake vers…
Browse files Browse the repository at this point in the history
…ions
  • Loading branch information
jswiergo committed Aug 30, 2016
1 parent 5d04d53 commit 75d0f70
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Destin/DavisDestin/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,11 @@ TARGET_LINK_LIBRARIES( destin destinalt )
SET_TARGET_PROPERTIES( destin PROPERTIES RUNTIME_OUTPUT_DIRECTORY bin )


ADD_EXECUTABLE( test test/test.c test/testconfig.conf)
TARGET_LINK_LIBRARIES( test destinalt_test )
SET_TARGET_PROPERTIES( test PROPERTIES RUNTIME_OUTPUT_DIRECTORY test )
ADD_EXECUTABLE( tests tests/test.c tests/testconfig.conf)
TARGET_LINK_LIBRARIES( tests destinalt_test )
SET_TARGET_PROPERTIES( tests PROPERTIES RUNTIME_OUTPUT_DIRECTORY tests )

INSTALL( TARGETS test destin destinalt_test destinalt
INSTALL( TARGETS tests destin destinalt_test destinalt
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
ARCHIVE DESTINATION lib/static )
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 75d0f70

Please sign in to comment.