]> git.lyx.org Git - lyx.git/blobdiff - CMakeLists.txt
Cmake tests: Get rid of use of command 'env', which is not available under Windows.
[lyx.git] / CMakeLists.txt
index cbcaa8504ac571e9a8862276e740f87ceb8cadf6..a25f5480b63cd604a6d936200ec791fc770f1c07 100644 (file)
@@ -47,6 +47,7 @@ if(COMMAND cmake_policy)
                # COMPILE_DEFINITIONS are not used yet. Enable new behavior.
                cmake_policy(SET CMP0043 NEW)
        endif()
+       cmake_policy(SET CMP0020 OLD)
 endif()
 
 set(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS true)