[ADVPACK] Sync with Wine Staging 3.17. CORE-15127
[reactos.git] / CMakeLists.txt
index 90e76be..d2e8b86 100644 (file)
@@ -9,9 +9,6 @@ endif()
 # Don't escape preprocessor definition values added via add_definitions
 cmake_policy(SET CMP0005 OLD)
 
-# Shadow cmake provided modules
-cmake_policy(SET CMP0017 OLD)
-
 # Honor CMAKE_SHARED_LIBRARY_<Lang>_FLAGS variable.
 cmake_policy(SET CMP0018 OLD)
 
@@ -68,12 +65,6 @@ if(MSVC_IDE)
     add_compile_flags("/MP")
 endif()
 
-# We don't need CMake importlib handling.
-# FIXME: Remove the MSVC_IDE condition when the upcoming RosBE lands.
-if(NOT MSVC_IDE)
-    unset(CMAKE_IMPORT_LIBRARY_SUFFIX)
-endif()
-
 # Bison and Flex support
 # include(sdk/cmake/bison-flex.cmake)
 
@@ -115,6 +106,8 @@ if(NOT CMAKE_CROSSCOMPILING)
     endif()
 
 else()
+    # We don't need CMake importlib handling.
+    unset(CMAKE_IMPORT_LIBRARY_SUFFIX)
 
     if(NEW_STYLE_BUILD)
         include(sdk/cmake/host-tools.cmake)