cmake-basis / BASIS

CMake BASIS makes it easy to create sharable software and libraries that work together. This is accomplished by combining and documenting some of the best practices and utilities available. This project supplies a fully integrated suite of functionality to make the whole process seamless!
https://cmake-basis.github.io
Other
48 stars 10 forks source link

Compilation error building BASIS 3.3.1 with CMake 3.9 #624

Closed ahundt closed 7 years ago

ahundt commented 7 years ago

It seems custom properties are no longer allowed for INTERFACE_LIBRARY targets with cmake 3.9?

CMake Error at /Users/ahundt/BASIS Quick Start/share/basis/cmake-modules/ImportTools.cmake:168 (_set_target_properties):
  INTERFACE_LIBRARY targets may only have whitelisted properties.  The
  property "BUNDLED" is not allowed.
Call Stack (most recent call first):
  /Users/ahundt/BASIS Quick Start/share/basis/cmake-modules/TargetTools.cmake:1574 (basis_add_imported_target)
  /usr/local/Cellar/cmake/3.9.0/share/cmake/Modules/FindBoost.cmake:1057 (add_library)
  /Users/ahundt/BASIS Quick Start/share/basis/cmake-modules/CommonTools.cmake:56 (_find_package)
  /Users/ahundt/BASIS Quick Start/share/basis/cmake-modules/CommonTools.cmake:356 (find_package)
  /Users/ahundt/BASIS Quick Start/share/basis/cmake-modules/ProjectTools.cmake:1656 (basis_find_package)
  /Users/ahundt/BASIS Quick Start/share/basis/cmake-modules/ProjectTools.cmake:1878 (basis_find_packages)
  /Users/ahundt/BASIS Quick Start/share/basis/cmake-modules/ProjectTools.cmake:2136 (basis_project_begin)
  modules/roboneprivate/CMakeLists.txt:84 (basis_project_impl)

CMake Error at /Users/ahundt/BASIS Quick Start/share/basis/cmake-modules/ImportTools.cmake:168 (_set_target_properties):
  INTERFACE_LIBRARY targets may only have whitelisted properties.  The
  property "BUNDLED" is not allowed.
Call Stack (most recent call first):
  /Users/ahundt/BASIS Quick Start/share/basis/cmake-modules/TargetTools.cmake:1574 (basis_add_imported_target)
  /usr/local/Cellar/cmake/3.9.0/share/cmake/Modules/FindBoost.cmake:1058 (add_library)
  /Users/ahundt/BASIS Quick Start/share/basis/cmake-modules/CommonTools.cmake:56 (_find_package)
  /Users/ahundt/BASIS Quick Start/share/basis/cmake-modules/CommonTools.cmake:356 (find_package)
  /Users/ahundt/BASIS Quick Start/share/basis/cmake-modules/ProjectTools.cmake:1656 (basis_find_package)
  /Users/ahundt/BASIS Quick Start/share/basis/cmake-modules/ProjectTools.cmake:1878 (basis_find_packages)
  /Users/ahundt/BASIS Quick Start/share/basis/cmake-modules/ProjectTools.cmake:2136 (basis_project_begin)
  modules/roboneprivate/CMakeLists.txt:84 (basis_project_impl)

CMake Error at /Users/ahundt/BASIS Quick Start/share/basis/cmake-modules/ImportTools.cmake:168 (_set_target_properties):
  INTERFACE_LIBRARY targets may only have whitelisted properties.  The
  property "BUNDLED" is not allowed.
Call Stack (most recent call first):
  /Users/ahundt/BASIS Quick Start/share/basis/cmake-modules/TargetTools.cmake:1574 (basis_add_imported_target)
  /usr/local/Cellar/cmake/3.9.0/share/cmake/Modules/FindBoost.cmake:1059 (add_library)
  /Users/ahundt/BASIS Quick Start/share/basis/cmake-modules/CommonTools.cmake:56 (_find_package)
  /Users/ahundt/BASIS Quick Start/share/basis/cmake-modules/CommonTools.cmake:356 (find_package)
  /Users/ahundt/BASIS Quick Start/share/basis/cmake-modules/ProjectTools.cmake:1656 (basis_find_package)
  /Users/ahundt/BASIS Quick Start/share/basis/cmake-modules/ProjectTools.cmake:1878 (basis_find_packages)
  /Users/ahundt/BASIS Quick Start/share/basis/cmake-modules/ProjectTools.cmake:2136 (basis_project_begin)
  modules/roboneprivate/CMakeLists.txt:84 (basis_project_impl)

CMake Error at /Users/ahundt/BASIS Quick Start/share/basis/cmake-modules/ImportTools.cmake:168 (_set_target_properties):
  INTERFACE_LIBRARY targets may only have whitelisted properties.  The
  property "BUNDLED" is not allowed.
Call Stack (most recent call first):
  /Users/ahundt/BASIS Quick Start/share/basis/cmake-modules/TargetTools.cmake:1574 (basis_add_imported_target)
  /usr/local/Cellar/cmake/3.9.0/share/cmake/Modules/FindBoost.cmake:1793 (add_library)
  /Users/ahundt/BASIS Quick Start/share/basis/cmake-modules/CommonTools.cmake:56 (_find_package)
  /Users/ahundt/BASIS Quick Start/share/basis/cmake-modules/CommonTools.cmake:356 (find_package)
  /Users/ahundt/BASIS Quick Start/share/basis/cmake-modules/ProjectTools.cmake:1656 (basis_find_package)
  /Users/ahundt/BASIS Quick Start/share/basis/cmake-modules/ProjectTools.cmake:1878 (basis_find_packages)
  /Users/ahundt/BASIS Quick Start/share/basis/cmake-modules/ProjectTools.cmake:2136 (basis_project_begin)
  modules/roboneprivate/CMakeLists.txt:84 (basis_project_impl)
ahundt commented 7 years ago

nevermind, it was picking up something super old