Skip to content

Commit

Permalink
Try to fix Export on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Mizux committed Sep 20, 2023
1 parent 2600356 commit e47cc38
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions ortools/math_opt/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,4 @@ target_link_libraries(${NAME} INTERFACE
$<TARGET_OBJECTS:${NAME}_storage>
$<TARGET_OBJECTS:${NAME}_validators>
)
install(TARGETS ${PROJECT_NAME}_math_opt EXPORT ${PROJECT_NAME}Targets)
1 change: 1 addition & 0 deletions ortools/math_opt/constraints/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,4 @@ target_link_libraries(${NAME} INTERFACE
$<TARGET_OBJECTS:${NAME}_sos>
$<TARGET_OBJECTS:${NAME}_util>
)
install(TARGETS ${PROJECT_NAME}_math_opt_constraints EXPORT ${PROJECT_NAME}Targets)
1 change: 1 addition & 0 deletions ortools/math_opt/constraints/indicator/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,4 @@ target_link_libraries(${NAME} PRIVATE
absl::strings
protobuf::libprotobuf
${PROJECT_NAME}::proto)
install(TARGETS ${PROJECT_NAME}_math_opt_constraints_indicator EXPORT ${PROJECT_NAME}Targets)

0 comments on commit e47cc38

Please sign in to comment.