Changed: Fixed the MAX plugin build for CMake.

hg/feature/sound
sfb 14 years ago
parent 972a6cb6c3
commit 5672f44e5d

@ -10,9 +10,9 @@ IF(WIN32)
FIND_PACKAGE(DirectXSDK REQUIRED) FIND_PACKAGE(DirectXSDK REQUIRED)
# On Win32 we can also build the MAX plugins. # On Win32 we can also build the MAX plugins.
IF(WITH_MAXPLUGIN) IF(WITH_NEL_MAXPLUGIN)
FIND_PACKAGE(3dsMaxSDK) FIND_PACKAGE(3dsMaxSDK)
ENDIF(WITH_MAXPLUGIN) ENDIF(WITH_NEL_MAXPLUGIN)
ENDIF(WIN32) ENDIF(WIN32)
IF(WITH_3D) IF(WITH_3D)

@ -35,12 +35,12 @@ IF(WIN32)
ADD_SUBDIRECTORY(tile_edit) ADD_SUBDIRECTORY(tile_edit)
ENDIF(MFC_FOUND) ENDIF(MFC_FOUND)
IF(WITH_MAXPLUGIN) IF(WITH_NEL_MAXPLUGIN)
IF(MAXSDK_FOUND) IF(MAXSDK_FOUND)
ADD_SUBDIRECTORY(plugin_max) ADD_SUBDIRECTORY(plugin_max)
ADD_SUBDIRECTORY(ligo) ADD_SUBDIRECTORY(ligo)
ENDIF(MAXSDK_FOUND) ENDIF(MAXSDK_FOUND)
ENDIF(WITH_MAXPLUGIN) ENDIF(WITH_NEL_MAXPLUGIN)
ENDIF(WIN32) ENDIF(WIN32)

@ -14,7 +14,7 @@ TARGET_LINK_LIBRARIES(nel_3dsmax_shared
NL_DEFAULT_PROPS(nel_3dsmax_shared "MAX Plugin: NeL 3DSMAX Shared") NL_DEFAULT_PROPS(nel_3dsmax_shared "MAX Plugin: NeL 3DSMAX Shared")
NL_ADD_RUNTIME_FLAGS(nel_3dsmax_shared) NL_ADD_RUNTIME_FLAGS(nel_3dsmax_shared)
NL_ADD_LIB_SUFFIX(nel_3dsmax_shared) NL_ADD_LIB_SUFFIX(nel_3dsmax_shared)
SET_TARGET_PROPERTIES(nel_export PROPERTIES SUFFIX ".dlx") #SET_TARGET_PROPERTIES(nel_export PROPERTIES SUFFIX ".dlx")
ADD_DEFINITIONS(-DNEL_3DSMAX_SHARED_EXPORTS) ADD_DEFINITIONS(-DNEL_3DSMAX_SHARED_EXPORTS)

Loading…
Cancel
Save