mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-20 11:30:18 +00:00
...
This commit is contained in:
parent
04b187923b
commit
6bc625dd0c
@ -44,11 +44,6 @@ if(PK_ENABLE_PROFILER)
|
|||||||
add_definitions(-DPK_ENABLE_PROFILER=1)
|
add_definitions(-DPK_ENABLE_PROFILER=1)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
option(PK_NO_EXPORT_C_API "" OFF)
|
|
||||||
if(PK_NO_EXPORT_C_API)
|
|
||||||
add_definitions(-DPK_NO_EXPORT_C_API)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
# PK_IS_MAIN determines whether the project is being used from root
|
# PK_IS_MAIN determines whether the project is being used from root
|
||||||
# or if it is added as a dependency (through add_subdirectory for example).
|
# or if it is added as a dependency (through add_subdirectory for example).
|
||||||
if ("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}")
|
if ("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user