Skip to content

Commit

Permalink
Try Set SDK path from External
Browse files Browse the repository at this point in the history
  • Loading branch information
DerKleinePunk committed Feb 25, 2024
1 parent 7c300bc commit fc335ea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ option(BUILD_SMAPLES "Build the Sampels" ON)
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED True)
set(DART_DLL_DIR "${PROJECT_SOURCE_DIR}/src")
if(NOT DART_DIR)
set(DART_DIR "${PROJECT_SOURCE_DIR}/dart-sdk/sdk")
endif()

set( OUTPUT_PATH_EXT "x32" )
if (CMAKE_SIZEOF_VOID_P EQUAL 8)
Expand Down
3 changes: 0 additions & 3 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@ cmake_minimum_required(VERSION 3.15)

project(dart_dll VERSION 0.1.2)

set(DARTSDK_ROOTDIR "${PROJECT_SOURCE_DIR}/../dart-sdk" CACHE FILEPATH "Directory that dart-sdk is cloned too")
set(DART_DIR "${DARTSDK_ROOTDIR}/sdk")

set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED True)
set(CMAKE_CXX_EXTENSIONS )
Expand Down

0 comments on commit fc335ea

Please sign in to comment.