Skip to content

Commit

Permalink
Merge pull request #5 from edisongustavo/master
Browse files Browse the repository at this point in the history
Set postfix to _s when building as a static library
  • Loading branch information
devernay committed May 27, 2016
2 parents 9da4679 + b4dcc9c commit bb54e3a
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 @@ -31,6 +31,10 @@ if (BUILD_SHARED_LIBS)
message (STATUS "Building shared libraries.")
else ()
message (STATUS "Building static libraries.")
set(CMAKE_RELEASE_POSTFIX _s)
set(CMAKE_RELWITHDEBINFO_POSTFIX _s)
set(CMAKE_DEBUG_POSTFIX _s)
set(CMAKE_MINSIZEREL_POSTFIX _s)
if(WIN32)
add_definitions(-DCMINPACK_NO_DLL)
endif(WIN32)
Expand Down

0 comments on commit bb54e3a

Please sign in to comment.