mirror of
https://github.com/SOCI/soci.git
synced 2026-02-14 01:28:54 -06:00
@@ -86,6 +86,9 @@ if(NOT MSVC)
|
||||
set_directory_properties(PROPERTIES INCLUDE_DIRECTORIES ${DL_INCLUDE_DIR})
|
||||
add_definitions(-DHAVE_DL=1)
|
||||
endif()
|
||||
else() #MSVC
|
||||
# This flag enables multi process compiling for Visual Studio 2005 and above
|
||||
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /MP")
|
||||
endif()
|
||||
|
||||
if(Boost_FOUND)
|
||||
|
||||
@@ -63,7 +63,7 @@ if (SOCI_SHARED)
|
||||
endif()
|
||||
|
||||
add_definitions(-DSOCI_LIB_PREFIX="${CMAKE_SHARED_LIBRARY_PREFIX}soci_"
|
||||
-DSOCI_LIB_SUFFIX="${CMAKE_SHARED_LIBRARY_SUFFIX}")
|
||||
-DSOCI_LIB_SUFFIX="${CMAKE_DEBUG_POSTFIX}${CMAKE_SHARED_LIBRARY_SUFFIX}")
|
||||
|
||||
#
|
||||
# Core static library
|
||||
|
||||
Reference in New Issue
Block a user