View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005957 | The Dark Mod | Coding | public | 04.05.2022 18:02 | 04.05.2022 18:02 |
Reporter | es20490446e | Assigned To | |||
Priority | normal | Severity | normal | Reproducibility | always |
Status | new | Resolution | open | ||
Platform | Linux | OS | Manjaro | OS Version | Stable |
Product Version | TDM 2.10 | ||||
Summary | 0005957: "add_precompiled_header" wrongly used with multiple parameters at "CMakeLists.txt" | ||||
Description | If I compile the game using the default makepkg flags: CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection CXXFLAGS=$CFLAGS -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now It detects an error: ... $<BOOL> expression requires exactly one parameter. Call Stack (most recent call first): sys/cmake/PrecompiledHeader.cmake:40 (export_all_flags) CMakeLists.txt:170 (add_precompiled_header) CMake Error at sys/cmake/PrecompiledHeader.cmake:77 (file): Error evaluating generator expression: $<BOOL:$<TARGET_PROPERTY:TheDarkMod,COMPILE_FLAGS>;-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS;-g -ffast-math -O3 -DNDEBUG;-std=c++14> $<BOOL> expression requires exactly one parameter. Call Stack (most recent call first): sys/cmake/PrecompiledHeader.cmake:40 (export_all_flags) CMakeLists.txt:170 (add_precompiled_header) CMake Generate step failed. Build files cannot be regenerated correctly., ==> ERROR: A failure occurred in build(). Aborting..., Blanking the flags makes compilation to succeed thought. | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
04.05.2022 18:02 | es20490446e | New Issue |