mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 06:00:05 +00:00
Initial project file updates for macos
This commit is contained in:
parent
58b6c5e1eb
commit
012d70b3a2
2 changed files with 12 additions and 0 deletions
|
|
@ -35,10 +35,16 @@ class SupercellWxConan(ConanFile):
|
|||
self.options["openssl"].shared = True
|
||||
self.options["libcurl"].ca_bundle = "none"
|
||||
self.options["libcurl"].ca_path = "none"
|
||||
elif self.settings.os == "Macos":
|
||||
self.options["openssl"].shared = True
|
||||
self.options["libcurl"].ca_bundle = "none"
|
||||
self.options["libcurl"].ca_path = "none"
|
||||
|
||||
def requirements(self):
|
||||
if self.settings.os == "Linux":
|
||||
self.requires("onetbb/2022.0.0")
|
||||
elif self.settings.os == "Macos":
|
||||
self.requires("onetbb/2022.0.0")
|
||||
|
||||
def generate(self):
|
||||
build_folder = os.path.join(self.build_folder,
|
||||
|
|
|
|||
|
|
@ -694,7 +694,9 @@ if (MSVC)
|
|||
else()
|
||||
target_compile_options(scwx-qt PRIVATE "$<$<CONFIG:Release>:-g>")
|
||||
target_compile_options(supercell-wx PRIVATE "$<$<CONFIG:Release>:-g>")
|
||||
endif()
|
||||
|
||||
if (LINUX)
|
||||
# Add wayland client packages
|
||||
find_package(QT NAMES Qt6
|
||||
COMPONENTS WaylandClient
|
||||
|
|
@ -746,6 +748,10 @@ install(TARGETS supercell-wx
|
|||
RUNTIME
|
||||
COMPONENT supercell-wx
|
||||
LIBRARY
|
||||
COMPONENT supercell-wx
|
||||
OPTIONAL
|
||||
FRAMEWORK
|
||||
DESTINATION Frameworks
|
||||
COMPONENT supercell-wx
|
||||
OPTIONAL)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue