Skip to content

Commit

Permalink
Fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
JohannesLorenz committed Sep 6, 2024
1 parent 04b7f4e commit 8e8671b
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -246,13 +246,16 @@ endif()
if(LIBLO_FOUND AND RUBY_FOUND)
add_executable(port-checker test/port-checker-main.cpp)
target_include_directories(port-checker PRIVATE ${LIBLO_INCLUDE_DIRS} ${CMAKE_SOURCE_DIR}/include)
target_link_libraries(port-checker PRIVATE lo-server rtosc-cpp rtosc ${LIBLO_LIBRARIES})
target_link_libraries(port-checker PRIVATE lo-server rtosc-cpp rtosc ${RTOSC_LIBLO_LIBRARIES})
target_link_directories(port-checker PRIVATE ${LIBLO_LIBRARY_DIRS})
add_executable(port-checker-tester test/port-checker-tester.cpp)
target_include_directories(port-checker-tester PRIVATE ${LIBLO_INCLUDE_DIRS} ${CMAKE_SOURCE_DIR}/include)
target_link_libraries(port-checker-tester PRIVATE lo-server rtosc-cpp rtosc ${LIBLO_LIBRARIES})
target_link_libraries(port-checker-tester PRIVATE lo-server rtosc-cpp rtosc ${RTOSC_LIBLO_LIBRARIES})
target_link_directories(port-checker-tester PRIVATE ${LIBLO_LIBRARY_DIRS})
add_executable(port-checker-testapp test/port-checker-testapp.cpp)
target_include_directories(port-checker-testapp PRIVATE ${LIBLO_INCLUDE_DIRS} ${CMAKE_SOURCE_DIR}/include)
target_link_libraries(port-checker-testapp PRIVATE rtosc-cpp rtosc ${LIBLO_LIBRARIES})
target_link_libraries(port-checker-testapp PRIVATE rtosc-cpp rtosc ${RTOSC_LIBLO_LIBRARIES})
target_link_directories(port-checker-testapp PRIVATE ${LIBLO_LIBRARY_DIRS})
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/test/test-port-checker.rb
${CMAKE_CURRENT_BINARY_DIR}/test-port-checker.rb COPYONLY)
add_test(test-port-checker test-port-checker.rb)
Expand Down

0 comments on commit 8e8671b

Please sign in to comment.