cmake: fix nasm sources build when building in a separate directory
[flac.git] / src / libFLAC / ia32 / CMakeLists.txt
index 88dc69c..0236a39 100644 (file)
@@ -1,6 +1,7 @@
-cmake_minimum_required(VERSION 3.12)
+cmake_minimum_required(VERSION 3.9)
 
-include_directories("${CMAKE_CURRENT_SOURCE_DIR}")
+#include_directories("${CMAKE_CURRENT_SOURCE_DIR}")
+add_compile_options(-I${CMAKE_CURRENT_SOURCE_DIR}/)
 
 if(APPLE)
     add_compile_options(-dOBJ_FORMAT_macho)