This repository was archived by the owner on Oct 6, 2023. It is now read-only.
File tree 1 file changed +5
-2
lines changed
1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -113,6 +113,9 @@ SOURCE_GROUP("Misc" FILES ${GROUP_MISC})
113
113
SOURCE_GROUP ("ML" FILES ${GROUP_ML} )
114
114
SOURCE_GROUP ("Normalization" FILES ${GROUP_NORMALIZATION} )
115
115
116
+
117
+ find_package (Threads REQUIRED)
118
+
116
119
FIND_PACKAGE (Boost REQUIRED COMPONENTS filesystem program_options system )
117
120
IF (Boost_FOUND)
118
121
INCLUDE_DIRECTORIES (${Boost_INCLUDE_DIRS} )
@@ -132,10 +135,10 @@ SET(ASAP_LIB_DIRS "ASAP_LIB_DIRECTORY" CACHE FILEPATH "The path to the ASAP libr
132
135
IF (WIN32 )
133
136
SET (ASAP_LIBRARIES ${ASAP_LIB_DIRS} /core.lib ${ASAP_LIB_DIRS} /multiresolutionimageinterface.lib)
134
137
ELSE ()
135
- SET (ASAP_LIBRARIES ${ASAP_LIB_DIRS} /core .so ${ASAP_LIB_DIRS} /multiresolutionimageinterface .so)
138
+ SET (ASAP_LIBRARIES ${ASAP_LIB_DIRS} /libcore .so ${ASAP_LIB_DIRS} /libmultiresolutionimageinterface .so)
136
139
ENDIF ()
137
140
138
141
139
- TARGET_LINK_LIBRARIES (wsics ${Boost_LIBRARIES} ${OpenCV_LIBRARIES} ${ASAP_LIBRARIES} )
142
+ TARGET_LINK_LIBRARIES (wsics ${Boost_LIBRARIES} ${OpenCV_LIBRARIES} ${ASAP_LIBRARIES} Threads::Threads )
140
143
141
144
install (TARGETS wsics DESTINATION bin)
You can’t perform that action at this time.
0 commit comments