From: Bastian Dehn Date: Wed, 25 Aug 2021 19:33:50 +0000 (+0200) Subject: add: depends target discspan X-Git-Url: https://gitweb.hhaalo.de/?a=commitdiff_plain;h=2b800e70aaddaca9ad7db4fdd70d00f2c8e3fc3d;p=discspan.git add: depends target discspan --- diff --git a/CMakeLists.txt b/CMakeLists.txt index efd3c63..48df792 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -18,6 +18,7 @@ include_directories(libs/spandisc/include) add_subdirectory(libs/spandisc EXCLUDE_FROM_ALL) add_executable(discspan ${SOURCES}) +add_dependencies(discspan spandisc) target_link_libraries(discspan spandisc) install(TARGETS discspan DESTINATION ${BINPATH})