mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-14 07:06:03 +08:00
made SLIC3R_STATIC a -D option instead of environment var
This commit is contained in:
parent
375663c381
commit
1f82f74799
@ -173,15 +173,15 @@ add_library(bthread SHARED IMPORTED)
|
||||
set_target_properties(bthread PROPERTIES IMPORTED_LOCATION ${bthread_l})
|
||||
include_directories(${Boost_INCLUDE_DIRS})
|
||||
|
||||
if(DEFINED ENV{SLIC3R_STATIC})
|
||||
if(${SLIC3R_STATIC})
|
||||
set(wxWidgets_USE_STATIC ON)
|
||||
ELSE(DEFINED ENV{SLIC3R_STATIC})
|
||||
else(${SLIC3R_STATIC})
|
||||
set(wxWidgets_USE_STATIC OFF)
|
||||
ENDIF(DEFINED ENV{SLIC3R_STATIC})
|
||||
endif(${SLIC3R_STATIC})
|
||||
|
||||
set(wxWidgets_USE_UNICODE ON)
|
||||
|
||||
find_package(wxWidgets COMPONENTS base aui core html)
|
||||
find_package(wxWidgets COMPONENTS net gl html aui core base)
|
||||
|
||||
IF(CMAKE_HOST_UNIX)
|
||||
#set(Boost_LIBRARIES bsystem bthread bfilesystem)
|
||||
|
Loading…
x
Reference in New Issue
Block a user