diff --git a/CMakeLists.txt b/CMakeLists.txt index 241b9d9..b3e837f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,7 @@ cmake_minimum_required(VERSION 3.20) include(cmake/color.cmake) -set(BLT_VERSION 0.16.11) +set(BLT_VERSION 0.16.12) set(BLT_TEST_VERSION 0.0.1) set(BLT_TARGET BLT) diff --git a/cmake/warnings.cmake b/cmake/warnings.cmake index 65231a4..035c0df 100644 --- a/cmake/warnings.cmake +++ b/cmake/warnings.cmake @@ -12,8 +12,10 @@ if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang") message(STATUS "Clang libs: ${Green}stdc++fs${ColourReset}") target_compile_options(${PROJECT_NAME} PRIVATE -Wall -Wextra -Wpedantic -fdiagnostics-color=always) target_link_options(${PROJECT_NAME} PRIVATE -Wall -Wextra -Wpedantic -fdiagnostics-color=always) - target_link_options(${PROJECT_NAME} PUBLIC -export_dynamic -rdynamic) - target_link_libraries(${PROJECT_NAME} PUBLIC stdc++fs) + #target_link_options(${PROJECT_NAME} PUBLIC -export_dynamic -rdynamic) + if(NOT EMSCRIPTEN) + target_link_libraries(${PROJECT_NAME} PUBLIC stdc++fs) + endif () elseif (CMAKE_CXX_COMPILER_ID STREQUAL "GNU") # using GCC message(STATUS "GCC Compile: ${Green}-Wall -Wextra -Wpedantic -fdiagnostics-color=always${ColourReset}")