Skip to content

Commit

Permalink
Fix windows build.
Browse files Browse the repository at this point in the history
Signed-off-by: Timothy Rule (VM/EMT3) <[email protected]>
  • Loading branch information
timrulebosch committed Nov 29, 2024
1 parent a90425e commit fcd8112
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions dse/examples/fmu/counter/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ set(DSE_CLIB_SOURCE_DIR ${dse_clib_SOURCE_DIR}/dse)
set(DSE_CLIB_INCLUDE_DIR "${DSE_CLIB_SOURCE_DIR}/..")
set(DSE_CLIB_SOURCE_FILES
${DSE_CLIB_SOURCE_DIR}/clib/util/strings.c
${DSE_CLIB_SOURCE_DIR}/clib/util/binary.c
${DSE_CLIB_SOURCE_DIR}/clib/collections/hashmap.c
)
set(FMI2_INCLUDE_DIR "${DSE_CLIB_SOURCE_DIR}/clib/fmi/fmi2/headers")
Expand Down Expand Up @@ -81,6 +82,7 @@ target_link_libraries(fmu2counter
PRIVATE
xml
$<$<BOOL:${WIN32}>:bcrypt>
$<$<BOOL:${WIN32}>:dl>
)
install(
TARGETS
Expand All @@ -106,6 +108,7 @@ target_link_libraries(fmu3counter
PRIVATE
xml
$<$<BOOL:${WIN32}>:bcrypt>
$<$<BOOL:${WIN32}>:dl>
)
install(
TARGETS
Expand Down
2 changes: 2 additions & 0 deletions dse/fmu/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ set(DSE_CLIB_SOURCE_DIR ${dse_clib_SOURCE_DIR}/dse)
set(DSE_CLIB_INCLUDE_DIR "${DSE_CLIB_SOURCE_DIR}/..")
set(DSE_CLIB_SOURCE_FILES
${DSE_CLIB_SOURCE_DIR}/clib/util/strings.c
${DSE_CLIB_SOURCE_DIR}/clib/util/binary.c
${DSE_CLIB_SOURCE_DIR}/clib/collections/hashmap.c
)
set(FMI2_INCLUDE_DIR "${DSE_CLIB_SOURCE_DIR}/clib/fmi/fmi2/headers")
Expand Down Expand Up @@ -79,6 +80,7 @@ target_link_libraries(fmi2fmu
PRIVATE
xml
$<$<BOOL:${WIN32}>:bcrypt>
$<$<BOOL:${WIN32}>:dl>
)
install(
TARGETS
Expand Down

0 comments on commit fcd8112

Please sign in to comment.