Skip to content

Commit

Permalink
Update CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
viferga authored Jan 24, 2024
1 parent 12f62d2 commit 1e142d8
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions source/ports/zig_port/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,6 @@ set(target zig_port)
# Exit here if required dependencies are not met
message(STATUS "Port ${target}")

# Build Zig Port
if(CMAKE_BUILD_TYPE STREQUAL "Release")
set(TARGET_BUILD_TYPE "-Doptimize=ReleaseFast")
else()
set(TARGET_BUILD_TYPE)
endif()

#
# Define test
#
Expand All @@ -41,16 +34,8 @@ set_property(TEST ${target}
)

include(TestEnvironmentVariables)
include(Portability)

project_library_path(TEST_LIB_PATH
${PROJECT_OUTPUT_DIR}
)

test_environment_variables(${target}
""
${TESTS_ENVIRONMENT_VARIABLES}
"${PROJECT_LIBRARY_PATH_NAME}=${TEST_LIB_PATH}"
"CMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}"
"PROJECT_OUTPUT_DIR=${PROJECT_OUTPUT_DIR}"
)

0 comments on commit 1e142d8

Please sign in to comment.