Skip to content

Commit

Permalink
updated cmake for building with the bindings in the folder
Browse files Browse the repository at this point in the history
  • Loading branch information
pundang committed Jul 9, 2024
1 parent 3fdcf0b commit ed9ed5e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@ file(GLOB SOURCES
src/ui/*.cpp
)

set(GEODE_BINDINGS_REPO_PATH ${CMAKE_SOURCE_DIR}/bindings)
if (DEFINED ENV{GITHUB_ACTIONS})
message("Github Actions Building, setting up env")
set(GEODE_BINDINGS_REPO_PATH ${CMAKE_SOURCE_DIR}/bindings)
add_definitions(-DGITHUB_ACTIONS)
endif()

add_library(${PROJECT_NAME} SHARED ${SOURCES})

Expand Down

0 comments on commit ed9ed5e

Please sign in to comment.