bug fixes to enable cmake compilation on WIN32 platform (see CHANGES for details)
This commit is contained in:
parent
1c1c123897
commit
2c38002242
|
@ -24,6 +24,14 @@ IF(DONT_HAVE_GETOPT)
|
|||
)
|
||||
ENDIF(DONT_HAVE_GETOPT)
|
||||
|
||||
IF(WIN32)
|
||||
IF(BUILD_SHARED_LIBS)
|
||||
ADD_DEFINITIONS(-DOPJ_EXPORTS)
|
||||
ELSE(BUILD_SHARED_LIBS)
|
||||
ADD_DEFINITIONS(-DOPJ_STATIC)
|
||||
ENDIF(BUILD_SHARED_LIBS)
|
||||
ENDIF(WIN32)
|
||||
|
||||
# Loop over all executables:
|
||||
FOREACH(exe jp3d_to_volume volume_to_jp3d)
|
||||
ADD_EXECUTABLE(${exe} ${exe}.c ${common_SRCS})
|
||||
|
|
Loading…
Reference in New Issue