Skip to content

Commit

Permalink
Add include path to libzip
Browse files Browse the repository at this point in the history
  • Loading branch information
robbr48 committed Oct 16, 2024
1 parent 0e0c97e commit 18fdf0d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion HopsanGUI/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ add_executable(${target_name} ${srcfiles})
target_include_directories(${target_name} PRIVATE
$<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}>
$<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}/../Utilities>
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/../hopsandcp/include>)
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/../hopsandcp/include>
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/../dependencies/libzip/include>)

target_compile_definitions(${target_name} PRIVATE _USE_MATH_DEFINES)
if(NOT CMAKE_BUILD_TYPE MATCHES Debug)
Expand Down

0 comments on commit 18fdf0d

Please sign in to comment.