Correctly place static library spec
This commit is contained in:
parent
6625afabb7
commit
203f5538aa
|
@ -23,9 +23,6 @@
|
|||
|
||||
cmake_minimum_required( VERSION 3.12 FATAL_ERROR )
|
||||
|
||||
# Default to honoring the visibility settings for static libraries
|
||||
cmake_policy(SET CMP0063 NEW)
|
||||
|
||||
# Default to CMAKE_BUILD_TYPE = Release unless overridden on command line
|
||||
# http://www.cmake.org/pipermail/cmake/2008-September/023808.html
|
||||
if( DEFINED CMAKE_BUILD_TYPE )
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
cmake_policy(PUSH)
|
||||
cmake_policy(VERSION 3.1)
|
||||
|
||||
# Default to honoring the visibility settings for static libraries
|
||||
cmake_policy(SET CMP0063 NEW)
|
||||
|
||||
# Commands may need to know the format version.
|
||||
set(CMAKE_IMPORT_FILE_VERSION 1)
|
||||
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
cmake_minimum_required(VERSION 3.0.0)
|
||||
project(nanodbc CXX)
|
||||
|
||||
# Default to honoring the visibility settings for static libraries
|
||||
cmake_policy(SET CMP0063 NEW)
|
||||
|
||||
# nanodbc specific options
|
||||
option(NANODBC_DISABLE_ASYNC "Disable async features entirely" OFF)
|
||||
option(NANODBC_DISABLE_LIBCXX "Do not use libc++, if available." OFF)
|
||||
|
|
Loading…
Reference in New Issue