Permalink
Browse files

Add build lib path to linker path

  • Loading branch information...
1 parent 1abf8cd commit c9971331e1428522fac732dc36b2ed323ae974a4 Ricky Cormier committed Jul 9, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 CMakeLists.txt
View
@@ -19,6 +19,9 @@ IF(config_file STREQUAL NOTFOUND)
SET(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/lib)
SET(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/lib)
+ # Library paths paths
+ LINK_DIRECTORIES(${PROJECT_SOURCE_DIR}/lib)
+
# Release build
SET(CMAKE_BUILD_TYPE release)
ADD_DEFINITIONS(-O2 -DNDEBUG)
@@ -87,6 +90,7 @@ SET(lfmfp_sources
src/fplib/FingerprintExtractor
src/fplib/OptFFT
)
+
# Define static library
ADD_LIBRARY(fplib_static STATIC
${lfmfp_sources}

0 comments on commit c997133

Please sign in to comment.