Skip to content

Commit

Permalink
Add build lib path to linker path
Browse files Browse the repository at this point in the history
  • Loading branch information
Ricky Cormier committed Jul 9, 2012
1 parent 1abf8cd commit c997133
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -87,6 +90,7 @@ SET(lfmfp_sources
src/fplib/FingerprintExtractor
src/fplib/OptFFT
)

# Define static library
ADD_LIBRARY(fplib_static STATIC
${lfmfp_sources}
Expand Down

0 comments on commit c997133

Please sign in to comment.