Skip to content

Commit

Permalink
adding BOOST_NO_CXX98_FUNCTION_BASE
Browse files Browse the repository at this point in the history
  • Loading branch information
samba committed Jul 8, 2024
1 parent 8d0b3b5 commit 965dc25
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ else()
endif()

IF(APPLE)
add_definitions(-DBOOST_NO_CXX98_FUNCTION_BASE)
SET(Boost_LIBRARIES ${Boost_LIBRARIES}
/usr/local/opt/icu4c/lib/libicudata.a
/usr/local/opt/icu4c/lib/libicui18n.a
Expand Down Expand Up @@ -208,6 +209,9 @@ file(GLOB WM_LUA_COM
file(GLOB WM_LUA_MODS
"${EXAMPLES_FOLDER}/lua/mods/*.lua"
)
file(GLOB WM_LUA_DEVICES_INTEGRA7
"${EXAMPLES_FOLDER}/lua/devices/integra7/*.lua"
)
file(GLOB WM_LUA_VOICINGS
"${EXAMPLES_FOLDER}/lua/voicings/*.lua"
)
Expand All @@ -233,7 +237,7 @@ if(${INSTALL_AUX})
install(FILES ${WM_LUA} DESTINATION share/werckmeister/lua COMPONENT wmapp)
install(FILES ${WM_LUA_COM} DESTINATION share/werckmeister/lua/com COMPONENT wmapp)
install(FILES ${WM_LUA_MODS} DESTINATION share/werckmeister/lua/mods COMPONENT wmapp)
install(FILES ${WM_LUA_MODS} DESTINATION share/werckmeister/lua/devices COMPONENT wmapp)
install(FILES ${WM_LUA_DEVICES_INTEGRA7} DESTINATION share/werckmeister/lua/devices/integra7 COMPONENT wmapp)
install(FILES ${WM_LUA_VOICINGS} DESTINATION share/werckmeister/lua/voicings COMPONENT wmapp)
install(FILES ${WM_LUA_VOICINGS_SOVLERS} DESTINATION share/werckmeister/lua/voicings/solvers COMPONENT wmapp)
install(FILES ${WM_PITCHMAPS} DESTINATION share/werckmeister/pitchmaps COMPONENT wmapp)
Expand All @@ -247,6 +251,7 @@ if (${USE_EMSCRIPTEN})
${WM_LUA}
${WM_LUA_COM}
${WM_LUA_MODS}
${WM_LUA_DEVICES_INTEGRA7}
${WM_LUA_VOICINGS}
${WM_LUA_VOICINGS_SOVLERS}
${WM_PITCHMAPS}
Expand Down
2 changes: 1 addition & 1 deletion src/lua/luaHelper.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ namespace lua

inline const char * getVersion()
{
static char * versionStr = LUA_VERSION;
static const char * versionStr = LUA_VERSION;
return versionStr;
}
inline void getTableValue(lua_State *L, const char *key, int &out)
Expand Down

0 comments on commit 965dc25

Please sign in to comment.