mirror of
https://github.com/ceres-solver/ceres-solver.git
synced 2026-08-29 16:40:38 +08:00
Suppport for MSVC DLLs.
Change-Id: Ibbcc4ba4e59f5bbf1cb91fe81c7d3b9042d03493
This commit is contained in:
@@ -28,6 +28,10 @@
|
||||
#
|
||||
# Author: keir@google.com (Keir Mierle)
|
||||
|
||||
IF (BUILD_SHARED_LIBS)
|
||||
ADD_DEFINITIONS(-DCERES_USING_SHARED_LIBRARY)
|
||||
ENDIF()
|
||||
|
||||
ADD_EXECUTABLE(helloworld helloworld.cc)
|
||||
TARGET_LINK_LIBRARIES(helloworld ceres)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user