Skip to content

Commit

Permalink
Ensure Lua/OpenAL works well for Windows too
Browse files Browse the repository at this point in the history
  • Loading branch information
carlfindahl committed Jan 15, 2023
1 parent 5e5ec78 commit 13424bd
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion pacman/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@ find_package(OpenGL REQUIRED)
find_package(OpenAL REQUIRED)
find_package(Lua REQUIRED)

target_include_directories(
${EXEC_NAME}
PRIVATE
${LUA_INCLUDE_DIR}
${OPENAL_INCLUDE_DIR}
)

target_link_libraries(
${EXEC_NAME}
PRIVATE
Expand All @@ -24,7 +31,7 @@ target_link_libraries(
glfw # For window integration
glm # For Maths
cgl # OpenGL utilities (custom library built in-source for this project)
lua # Sol2 Needs this
${LUA_LIBRARY} # Sol2 Needs this
sol2::sol2 # Lua Bindings
)

Expand Down

0 comments on commit 13424bd

Please sign in to comment.