diff --git a/core b/core index 8db8cf0..e165086 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit 8db8cf0071d5c370967b82e9e1a1628a5a3cf829 +Subproject commit e165086809a513916dbadf8a94b06b0c7d348411 diff --git a/src/hakoc/CMakeLists.txt b/src/hakoc/CMakeLists.txt index 46bb8ad..761d883 100644 --- a/src/hakoc/CMakeLists.txt +++ b/src/hakoc/CMakeLists.txt @@ -63,22 +63,29 @@ add_library( hakoarun src/hako_asset_runner.cpp ) +if (NOT WIN32) + set(PTHREAD_LIB -pthread) +else() + set(PTHREAD_LIB "") +endif() +# 各ターゲットに適用 target_link_libraries( hakoc hako - -pthread + ${PTHREAD_LIB} ) target_link_libraries( shakoc - -pthread + ${PTHREAD_LIB} ${HAKO_PYTHON_LIBS} ) + target_link_libraries( hakoarun hako - -pthread + ${PTHREAD_LIB} ) target_include_directories(