diff --git a/src/PlusDataCollection/CMakeLists.txt b/src/PlusDataCollection/CMakeLists.txt index ef4cd8c8e..59d24ae56 100644 --- a/src/PlusDataCollection/CMakeLists.txt +++ b/src/PlusDataCollection/CMakeLists.txt @@ -749,10 +749,6 @@ IF(PLUS_USE_ATRACSYS) ${AtracsysSDK_INCLUDE_DIR} ) - LIST(APPEND ${PROJECT_NAME}_LIBS - ${AtracsysSDK_LIBRARY} - ) - IF(WIN32) IF(CMAKE_SIZEOF_VOID_P EQUAL 8) SET(ATRACSYS_BITNESS_SUFFIX "64") @@ -760,6 +756,10 @@ IF(PLUS_USE_ATRACSYS) SET(ATRACSYS_BITNESS_SUFFIX "32") ENDIF() + LIST(APPEND ${PROJECT_NAME}_LIBS + ${AtracsysSDK_LIBRARY} + ) + LIST(APPEND External_Libraries_Install ${AtracsysSDK_BINARY_DIR}/fusionTrack${ATRACSYS_BITNESS_SUFFIX}${CMAKE_SHARED_LIBRARY_SUFFIX} ${AtracsysSDK_BINARY_DIR}/device${ATRACSYS_BITNESS_SUFFIX}${CMAKE_SHARED_LIBRARY_SUFFIX}