mirror of
https://github.com/geode-sdk/example-mod.git
synced 2024-11-14 19:05:02 -05:00
works for mac
This commit is contained in:
parent
8aec06aaf2
commit
480e6890b9
1 changed files with 1 additions and 6 deletions
|
@ -2,14 +2,9 @@ cmake_minimum_required(VERSION 3.3.0)
|
|||
set(CMAKE_CXX_STANDARD 17)
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
|
||||
set(PROJECT_NAME ExampleMod)
|
||||
|
||||
project(${PROJECT_NAME} VERSION 1.0.0)
|
||||
project(ExampleMod VERSION 1.0.0)
|
||||
|
||||
add_library(${PROJECT_NAME} SHARED main.cpp)
|
||||
|
||||
add_compile_definitions(EXPORTING_MOD)
|
||||
|
||||
set_target_properties(${PROJECT_NAME} PROPERTIES PREFIX "")
|
||||
|
||||
find_path(GEODE_SDK_PATH
|
||||
|
|
Loading…
Reference in a new issue