mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-29 01:54:20 +03:00
Introduce macro to assert and return the assertion condition
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
This commit is contained in:
parent
9ac0314d7a
commit
490df18fd5
3 changed files with 34 additions and 10 deletions
|
|
@ -102,6 +102,9 @@ set(CORE_SOURCES
|
|||
MMCTime.cpp
|
||||
|
||||
MTPixmapCache.h
|
||||
|
||||
# Assertion helper
|
||||
Assert.h
|
||||
)
|
||||
if (UNIX AND NOT CYGWIN AND NOT APPLE)
|
||||
set(CORE_SOURCES
|
||||
|
|
@ -1614,7 +1617,7 @@ if(WIN32 OR (UNIX AND APPLE))
|
|||
)
|
||||
# FIXME: remove this crap once we stop using msys2
|
||||
if(MINGW)
|
||||
# i've not found a solution better than injecting the config vars like this...
|
||||
# i've not found a solution better than injecting the config vars like this...
|
||||
# with install(CODE" for everything everything just breaks
|
||||
install(CODE "
|
||||
set(QT_PLUGINS_DIR \"${QT_PLUGINS_DIR}\")
|
||||
|
|
@ -1622,7 +1625,7 @@ if(WIN32 OR (UNIX AND APPLE))
|
|||
set(QT_LIBEXECS_DIR \"${QT_LIBEXECS_DIR}\")
|
||||
set(CMAKE_SYSTEM_LIBRARY_PATH \"${CMAKE_SYSTEM_LIBRARY_PATH}\")
|
||||
set(CMAKE_INSTALL_PREFIX \"${CMAKE_INSTALL_PREFIX}\")
|
||||
"
|
||||
"
|
||||
COMPONENT bundle)
|
||||
|
||||
install(CODE [[
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue