diff options
author | Zsolt Parragi <zsolt.parragi@cancellar.hu> | 2019-04-10 12:11:21 (GMT) |
---|---|---|
committer | Zsolt Parragi <zsolt.parragi@cancellar.hu> | 2019-05-24 06:43:55 (GMT) |
commit | 19669abe1d714d9dba3dcd642588160c0814f9e7 (patch) | |
tree | 2d4f07906a49eba1721e209546e0e9eb0d66aad6 /Tests/CompileOptions | |
parent | a2a90f41e312ef1b6f60dd700db441e4b637d853 (diff) | |
download | CMake-19669abe1d714d9dba3dcd642588160c0814f9e7.zip CMake-19669abe1d714d9dba3dcd642588160c0814f9e7.tar.gz CMake-19669abe1d714d9dba3dcd642588160c0814f9e7.tar.bz2 |
Tests: handle string escaping differences with NMake+clang
Diffstat (limited to 'Tests/CompileOptions')
-rw-r--r-- | Tests/CompileOptions/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/CompileOptions/CMakeLists.txt b/Tests/CompileOptions/CMakeLists.txt index 15a993c..2aa4458 100644 --- a/Tests/CompileOptions/CMakeLists.txt +++ b/Tests/CompileOptions/CMakeLists.txt @@ -42,7 +42,7 @@ else() ) endif() -if(CMAKE_CXX_COMPILER_ID MATCHES "GNU|Clang|Borland|Embarcadero") +if(CMAKE_CXX_COMPILER_ID MATCHES "GNU|Clang|Borland|Embarcadero" AND NOT "${CMAKE_GENERATOR}" MATCHES "NMake Makefiles") set_property(TARGET CompileOptions APPEND PROPERTY COMPILE_OPTIONS "-DTEST_OCTOTHORPE=\"#\"" ) |