no_shared_libs.cmake 193 B

12345
  1. cmake_minimum_required(VERSION 2.8.12.20131009)
  2. set_property(GLOBAL PROPERTY TARGET_SUPPORTS_SHARED_LIBS FALSE)
  3. add_library(foo INTERFACE)
  4. target_compile_definitions(foo INTERFACE FOO_DEFINE)