Fixed cmake to use find the proper xpm file in the xrc folder, also made the vbam core and fex library static to help with building on some platforms.
This commit is contained in:
parent
12b030cced
commit
96788892c4
|
@ -313,6 +313,7 @@ ENDIF( ENABLE_FFMPEG )
|
|||
|
||||
ADD_LIBRARY (
|
||||
vbamcore
|
||||
STATIC
|
||||
${PROJECT_SRCS}
|
||||
${SRC_MAIN}
|
||||
${SRC_GBA}
|
||||
|
|
|
@ -38,5 +38,6 @@ INCLUDE_DIRECTORIES(
|
|||
|
||||
ADD_LIBRARY(
|
||||
fex
|
||||
STATIC
|
||||
${SRC_FEX}
|
||||
)
|
||||
|
|
|
@ -124,7 +124,7 @@ SET( SRC_WX
|
|||
cmdhandlers.h
|
||||
cmd-evtable.h
|
||||
#Icon File
|
||||
wxvbam.xpm
|
||||
xrc/wxvbam.xpm
|
||||
)
|
||||
|
||||
IF(ENABLE_OPENAL)
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
// ImageMagick makes the name wxvbam, but wx expects wxvbam_xpm
|
||||
#define wxvbam wxvbam_xpm
|
||||
const
|
||||
#include "wxvbam.xpm"
|
||||
#include "xrx/wxvbam.xpm"
|
||||
#undef wxvbam
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue