Allow undefined symbols when linking plugin.

main
Teo Mrnjavac 11 years ago
parent d20e3ce598
commit 3dd9578b95

@ -1,8 +1,8 @@
project( calamares ) project( calamares )
cmake_minimum_required( VERSION 2.8.12 ) cmake_minimum_required( VERSION 2.8.12 )
set( CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/CMakeModules" ) set( CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/CMakeModules" )
set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wl,--no-undefined" ) #set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wl,--no-undefined" )
#set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11" ) set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11" )
cmake_policy( SET CMP0023 OLD ) cmake_policy( SET CMP0023 OLD )

Loading…
Cancel
Save