Skip to content

Commit

Permalink
Rafael Munoz Salinas jue nov 8 09:01:34 CET 2018
Browse files Browse the repository at this point in the history
  • Loading branch information
rmsalinas committed Nov 8, 2018
1 parent 266809b commit e8cd81d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
IF(WIN32)
ADD_DEFINITIONS(-DNOMINMAX)
ENDIF()

SET( srcs fbow.cpp vocabulary_creator.cpp )
SET( hdrs fbow.h fbow_exports.h vocabulary_creator.h cpu.h)

Expand All @@ -16,7 +15,7 @@ SET_TARGET_PROPERTIES(${THIS_LIBNAME} PROPERTIES # create *nix style library
CLEAN_DIRECT_OUTPUT 1 # allow creating static and shared libs without conflicts
OUTPUT_NAME "${THIS_LIBNAME}${PROJECT_DLLVERSION}" # avoid conflicts between library and binary target names
)
TARGET_LINK_LIBRARIES(${THIS_LIBNAME} ${OpenCV_LIBS} )
TARGET_LINK_LIBRARIES(${THIS_LIBNAME} ${OpenCV_LIBS} ${OpenMP_CXX_LIBRARIES})

INSTALL(TARGETS ${THIS_LIBNAME}
RUNTIME DESTINATION bin COMPONENT main # Install the dll file in bin directory
Expand Down

0 comments on commit e8cd81d

Please sign in to comment.