27 lines
808 B
Diff
27 lines
808 B
Diff
--- a/configure.ac
|
|
+++ b/configure.ac
|
|
@@ -264,6 +264,8 @@
|
|
*wx_msw*)
|
|
AC_MSG_RESULT(wxMSW)
|
|
|
|
+ AC_CHECK_TOOL(WINDRES, [windres])
|
|
+
|
|
if test "x$BUILD_SPELLCHECKER_TRUE" = "x" ; then
|
|
if test "x$HAVE_PKG_CONFIG" = "xyes"; then
|
|
PKG_CHECK_MODULES([HUNSPELL], [hunspell])
|
|
--- a/src/src/Makefile.am
|
|
+++ b/src/src/Makefile.am
|
|
@@ -71,8 +71,11 @@
|
|
watchesdlg.cpp
|
|
|
|
if CODEBLOCKS_NT
|
|
-codeblocks_LDADD += -lexchndl -lcomctl32 -lgdi32
|
|
+codeblocks_LDADD += resources.$(OBJEXT) -lexchndl -lcomctl32 -lgdi32
|
|
+codeblocks_DEPENDENCIES = resources.$(OBJEXT)
|
|
codeblocks_SOURCES += associations.cpp
|
|
+resources.$(OBJEXT): resources/resources.rc resources/amd64_dpi_aware_on.manifest
|
|
+ $(WINDRES) $(WX_CXXFLAGS) -DcbDPI_AWARE_ON --include-dir $(top_srcdir)/src $< $@
|
|
endif
|
|
|
|
noinst_HEADERS = app.h \
|