Skip to content

Commit

Permalink
add macro for win
Browse files Browse the repository at this point in the history
  • Loading branch information
TimSiebert1 committed Oct 14, 2024
1 parent 72d16a2 commit 4e9ad13
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,16 @@ target_compile_definitions(adolc PRIVATE
ADOLC_SUBVERSION=${adol-c_VERSION_MINOR}
ADOLC_PATCHLEVEL=${adol-c_VERSION_PATCH})


# win specific flags
if (WIN32)
target_compile_definitions(adolc PRIVATE
# handles __declspec
ADOLC_DLL
)
endif(WIN32)


# Set the public include directory containing headers that will be installed
target_include_directories(adolc
PUBLIC
Expand Down

0 comments on commit 4e9ad13

Please sign in to comment.