Browse Source

Correctly place static library spec

7.0
Seth Hillbrand 3 years ago
parent
commit
203f5538aa
  1. 3
      CMakeLists.txt
  2. 3
      thirdparty/3dxware_sdk/CMakeLists.txt
  3. 3
      thirdparty/nanodbc/CMakeLists.txt

3
CMakeLists.txt

@ -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 )

3
thirdparty/3dxware_sdk/CMakeLists.txt

@ -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)

3
thirdparty/nanodbc/CMakeLists.txt

@ -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…
Cancel
Save