diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt index 1c6856a..552fd2d 100644 --- a/src/core/CMakeLists.txt +++ b/src/core/CMakeLists.txt @@ -38,8 +38,8 @@ if(EMSCRIPTEN) add_library(openjph ${SOURCES}) add_library(openjphsimd ${SOURCES} ${CODESTREAM_WASM} ${CODING_WASM} ${TRANSFORM_WASM}) - target_include_directories(openjph PUBLIC common) - target_include_directories(openjphsimd PUBLIC common) + target_include_directories(openjph PUBLIC $ $) + target_include_directories(openjphsimd PUBLIC $ $) target_compile_options(openjphsimd PRIVATE -DOJPH_ENABLE_WASM_SIMD -msimd128) @@ -124,7 +124,7 @@ if (BUILD_SHARED_LIBS AND WIN32) endif() ## include library version/name -target_include_directories(openjph PUBLIC common) +target_include_directories(openjph PUBLIC $ $) target_compile_definitions(openjph PUBLIC _FILE_OFFSET_BITS=64) if (MSVC)