mirror of
https://github.com/edubart/otclient.git
synced 2025-12-19 15:17:12 +01:00
Revert "Build framework dynamically by default"
This reverts commit edde71fc09.
This commit is contained in:
@@ -19,7 +19,6 @@ if(NOT APPLE)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
option(USE_PCH "Use precompiled header (speed up compile)" OFF)
|
option(USE_PCH "Use precompiled header (speed up compile)" OFF)
|
||||||
option(FRAMEWORK_STATIC "Build and link framework statically" OFF)
|
|
||||||
|
|
||||||
set(executable_SOURCES
|
set(executable_SOURCES
|
||||||
src/main.cpp
|
src/main.cpp
|
||||||
@@ -38,7 +37,7 @@ endif()
|
|||||||
add_definitions(-D"VERSION=\\"${VERSION}\\"")
|
add_definitions(-D"VERSION=\\"${VERSION}\\"")
|
||||||
|
|
||||||
# we want framework to be a library for faster compilation/linking
|
# we want framework to be a library for faster compilation/linking
|
||||||
if(FRAMEWORK_STATIC)
|
if(USE_STATIC_LIBS)
|
||||||
add_library(${LIB_NAME} ${framework_SOURCES})
|
add_library(${LIB_NAME} ${framework_SOURCES})
|
||||||
else()
|
else()
|
||||||
add_library(${LIB_NAME} SHARED ${framework_SOURCES})
|
add_library(${LIB_NAME} SHARED ${framework_SOURCES})
|
||||||
|
|||||||
Reference in New Issue
Block a user