mirror of
https://github.com/simon987/fastimagehash.git
synced 2025-04-04 09:23:00 +00:00
Update CMakeLists.txt
This commit is contained in:
parent
2509f84886
commit
9170c363e7
@ -53,28 +53,28 @@ target_compile_options(
|
||||
)
|
||||
|
||||
|
||||
#add_executable(bm benchmark.cpp)
|
||||
#target_link_libraries(
|
||||
# bm
|
||||
# fastimagehash
|
||||
# benchmark
|
||||
#)
|
||||
#set_target_properties(
|
||||
# bm
|
||||
# PROPERTIES
|
||||
# RUNTIME_OUTPUT_DIRECTORY "${CMAKE_SOURCE_DIR}/bench/"
|
||||
#)
|
||||
add_executable(bm benchmark.cpp)
|
||||
target_link_libraries(
|
||||
bm
|
||||
fastimagehash
|
||||
benchmark
|
||||
)
|
||||
set_target_properties(
|
||||
bm
|
||||
PROPERTIES
|
||||
RUNTIME_OUTPUT_DIRECTORY "${CMAKE_SOURCE_DIR}/bench/"
|
||||
)
|
||||
|
||||
#add_executable(imhash imhash.c)
|
||||
#target_link_libraries(
|
||||
# imhash
|
||||
# ${CMAKE_SOURCE_DIR}/libfastimagehash.so
|
||||
#)
|
||||
#target_compile_options(
|
||||
# imhash
|
||||
# PRIVATE
|
||||
# -g
|
||||
#)
|
||||
add_executable(imhash imhash.c)
|
||||
target_link_libraries(
|
||||
imhash
|
||||
${CMAKE_SOURCE_DIR}/libfastimagehash.so
|
||||
)
|
||||
target_compile_options(
|
||||
imhash
|
||||
PRIVATE
|
||||
-g
|
||||
)
|
||||
|
||||
set_target_properties(fastimagehash PROPERTIES PUBLIC_HEADER "fastimagehash.h")
|
||||
INSTALL(
|
||||
@ -83,7 +83,7 @@ INSTALL(
|
||||
PUBLIC_HEADER DESTINATION /usr/include/
|
||||
)
|
||||
|
||||
#add_dependencies(fastimagehash wavelib)
|
||||
#add_dependencies(bm fastimagehash)
|
||||
#add_dependencies(bm benchmark)
|
||||
#add_dependencies(imhash fastimagehash)
|
||||
add_dependencies(fastimagehash wavelib)
|
||||
add_dependencies(bm fastimagehash)
|
||||
add_dependencies(bm benchmark)
|
||||
add_dependencies(imhash fastimagehash)
|
||||
|
Loading…
x
Reference in New Issue
Block a user