Yann Collet
6640377783
cmake build: fix nit
...
reported by @jaimeMF in https://github.com/facebook/zstd/pull/3392#discussion_r1056643794
2022-12-23 14:18:11 -08:00
Nick Terrell
31a703ec13
[cmake] Add noexecstack to compiler/linker flags
2022-12-21 17:30:14 -08:00
Yann Collet
eceecc5b2c
removed explicit compilation standard from cmake script
...
it's not expected to be useful
and can actually lead to subtle side effects
such as #3163 .
2022-06-19 14:52:32 -07:00
Nick Hutchinson
2d34062836
CMake: fix excessive build warnings when building with clang-cl
2021-05-06 18:46:37 +01:00
Bimba Shrestha
0fa9406ae2
removing deduplicatin of flags
2020-06-15 14:58:53 -07:00
Nick Terrell
3ed0f65158
[cmake] Add playTests.sh as a test
2020-01-13 14:16:15 -08:00
Hans Johnson
1a279ae85a
BUG: list sub-command REMOVE_DUPLICATES requires list to be present
...
When compiling without c++ enabled, some variables are not present.
This is a check enforced in recent Cmake versions.
CMake Error at CMakeModules/AddZstdCompilationFlags.cmake:54 (list):
list sub-command REMOVE_DUPLICATES requires list to be present.
Call Stack (most recent call first):
CMakeLists.txt:53 (ADD_ZSTD_COMPILATION_FLAGS)
2018-12-26 13:26:59 -06:00
Hans Johnson
d3fc848ddd
STYLE: Remove CMake-language block-end command arguments
...
Ancient versions of CMake required else(), endif(), and similar block
termination commands to have arguments matching the command starting the block.
This is no longer the preferred style.
2018-12-22 19:32:39 -06:00
Hans Johnson
2f1ff84119
STYLE: Convert CMake-language commands to lower case
...
Ancient CMake versions required upper-case commands. Later command names
became case-insensitive. Now the preferred style is lower-case.
2018-12-22 19:32:39 -06:00
codicodi
e87cad1053
CMake improvements
2017-05-24 10:56:35 +02:00
Michael Maltese
9eda436733
CMake: don't modify global C_FLAGS and CXX_FLAGS
2017-04-20 19:30:38 -07:00
Michael Maltese
377401f161
CMake: don't recheck compile flags every time
...
Doesn't cause a problem when embedded within a larger project, but is
annoying.
2017-04-20 19:30:38 -07:00
Michael Maltese
7f1fb95566
CMake: namespace modules and set CMAKE_MODULE_PATH
2017-04-20 19:30:37 -07:00